﻿<common:LayoutAwarePage
    x:Name="pageRoot"
    x:Class="LifestyleLightTheme.FeaturedMoviePage"
    DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:LifestyleLightTheme"
    xmlns:data="using:LifestyleLightTheme.Data"
    xmlns:common="using:LifestyleLightTheme.Common"
    xmlns:tiles="using:LifestyleLightTheme.VariableTemplate"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

  <Page.Resources>

        <!--
            Collection of grouped items displayed by this page, bound to a subset
            of the complete item list because items in groups cannot be virtualized
        -->
        <CollectionViewSource
            x:Name="groupedItemsViewSource"
            Source="{Binding Groups}"
            IsSourceGrouped="true"
            ItemsPath="TopItems"
            d:Source="{Binding AllGroups, Source={d:DesignInstance Type=data:FeaturedMovieDataSource, IsDesignTimeCreatable=True}}"/>

        <tiles:VariableTiles x:Key="MyTemplateSelectorObj" 
                             
                             HeaderTileTemplate="{StaticResource HeaderTileItemTemplate}"
                             EventsItemTileTemplate="{StaticResource EventsItemTileItemTemplate}"
                             ScreeningTileTemplate="{StaticResource ScreeningTileItemTemplate}"
							 BigScreeningTileTemplate="{StaticResource BigScreeningTileItemTemplate}">
							 

        </tiles:VariableTiles>

    </Page.Resources>

    <!--
        This grid acts as a root panel for the page that defines two rows:
        * Row 0 contains the back button and page title
        * Row 1 contains the rest of the page layout
    -->
    <Grid Style="{StaticResource LayoutRootStyle}">
        <Grid.Background>
            <ImageBrush ImageSource="Assets/Bg.png"/>
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="140"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!-- Horizontal scrolling grid used in most view states -->
        <!--<GridView
            x:Name="itemGridView"
            AutomationProperties.AutomationId="ItemGridView"
            AutomationProperties.Name="Grouped Items"
            Grid.RowSpan="2"
            Padding="116,137,40,46"
            ItemsSource="{Binding Source={StaticResource groupedItemsViewSource}}"
            ItemTemplate="{StaticResource Standard250x250ItemTemplate}"
            SelectionMode="None"
            IsSwipeEnabled="false"
            IsItemClickEnabled="True"
            ItemClick="ItemView_ItemClick">

            <GridView.ItemsPanel>
                <ItemsPanelTemplate>                        
                    <VirtualizingStackPanel Orientation="Horizontal"/>
                </ItemsPanelTemplate>
            </GridView.ItemsPanel>
            <GridView.GroupStyle>
                <GroupStyle>
                    <GroupStyle.HeaderTemplate>
                        <DataTemplate>
                            <Grid Margin="1,0,0,6">
                                <Button
                                    AutomationProperties.Name="Group Title"
                                    Click="Header_Click"
                                    Style="{StaticResource TextPrimaryButtonStyle}" >
                                    <StackPanel Orientation="Horizontal">
                                        <TextBlock Text="{Binding Title}" Margin="3,-7,10,10" Style="{StaticResource GroupHeaderTextStyle}" />
                                        <TextBlock Text="{StaticResource ChevronGlyph}" FontFamily="Segoe UI Symbol" Margin="0,-7,0,10" Style="{StaticResource GroupHeaderTextStyle}"/>
                                    </StackPanel>
                                </Button>
                            </Grid>
                        </DataTemplate>
                    </GroupStyle.HeaderTemplate>
                    <GroupStyle.Panel>
                        <ItemsPanelTemplate>
                            <VariableSizedWrapGrid Orientation="Vertical" Margin="0,0,80,0"/>
                        </ItemsPanelTemplate>
                    </GroupStyle.Panel>
                </GroupStyle>
            </GridView.GroupStyle>
        </GridView>-->
        <!-- Vertical scrolling list only used when snapped -->
        <ListView
            x:Name="itemListView"
            AutomationProperties.AutomationId="ItemListView"
            AutomationProperties.Name="Grouped Items"
            Grid.Row="1"
            Visibility="Collapsed"
            Margin="0,-10,0,0"
            Padding="10,0,0,60"
            ItemsSource="{Binding Source={StaticResource groupedItemsViewSource}}"
            ItemTemplate="{StaticResource Standard80ItemTemplate}"
            SelectionMode="None"
            IsSwipeEnabled="false"
            IsItemClickEnabled="True"
            ItemClick="ItemView_ItemClick">

            <ListView.GroupStyle>
                <GroupStyle>
                    <GroupStyle.HeaderTemplate>
                        <DataTemplate>
                            <Grid Margin="7,7,0,0">
                                <Button
                                    AutomationProperties.Name="Group Title"
                                    Click="Header_Click"
                                    Style="{StaticResource TextPrimaryButtonStyle}">
                                    <StackPanel Orientation="Horizontal">
                                        <TextBlock Text="{Binding Title}" Margin="3,-7,10,10" Style="{StaticResource GroupHeaderTextStyle}" />
                                        <TextBlock Text="{StaticResource ChevronGlyph}" FontFamily="Segoe UI Symbol" Margin="0,-7,0,10" Style="{StaticResource GroupHeaderTextStyle}"/>
                                    </StackPanel>
                                </Button>
                            </Grid>
                        </DataTemplate>
                    </GroupStyle.HeaderTemplate>
                </GroupStyle>
            </ListView.GroupStyle>
        </ListView>

        <!-- Back button and page title -->
        <ScrollViewer x:Name="scrollViewer" Grid.RowSpan="2" Style="{StaticResource HorizontalScrollViewerStyle}" Margin="0">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="50*"/>
                    <ColumnDefinition Width="50*"/>
                </Grid.ColumnDefinitions>
                <Grid>
                    <Image Source="Assets/FeaturedMovies/FeaturedMovieImage.png" Stretch="Fill"/>
                    <StackPanel VerticalAlignment="Bottom" RenderTransformOrigin="0,1" Margin="0,0,145,0">
                        <StackPanel.Projection>
                            <PlaneProjection RotationZ="1"/>
                        </StackPanel.Projection>
                        <StackPanel.RenderTransform>
                            <CompositeTransform Rotation="-15" TranslateY="-81" TranslateX="-15"/>
                        </StackPanel.RenderTransform>
                        <Grid Background="White" HorizontalAlignment="Right">
                            <TextBlock HorizontalAlignment="Right" TextWrapping="Wrap" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="24" Margin="50,20,50,10" Foreground="Black" FontWeight="ExtraBold" TextAlignment="Right" Text="Featured Movie"/>
                        </Grid>
                        <Grid Background="Black">
                            <TextBlock HorizontalAlignment="Right" TextWrapping="Wrap" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="36" Margin="0,20,20,20" Foreground="#FFB1D260" FontWeight="Light" TextAlignment="Right" Text="Title"/>
                        </Grid>
                    </StackPanel>
                </Grid>
                <Grid Grid.Column="1">
                	<Grid.ColumnDefinitions>
                		<ColumnDefinition Width="600"/>
                		<ColumnDefinition Width="100"/>
                		<ColumnDefinition Width="600"/>
                		<ColumnDefinition Width="100"/>
                		<ColumnDefinition Width="*"/>
                	</Grid.ColumnDefinitions>
                	<tiles:VariableTileControl
                		x:Name="itemGridView"
                		AutomationProperties.AutomationId="ItemGridView"
                		AutomationProperties.Name="Grouped Items"
                		Margin="0"
                		Padding="0,134,40,20"
                		ItemsSource="{Binding Source={StaticResource groupedItemsViewSource}}"
                		ItemTemplateSelector="{StaticResource MyTemplateSelectorObj}"
                		SelectionMode="None"
                		IsItemClickEnabled="True"
                		ItemClick="ItemView_ItemClick" HorizontalContentAlignment="Left" ScrollViewer.HorizontalScrollBarVisibility="Disabled" Grid.Column="4" Grid.ColumnSpan="4">

                		<tiles:VariableTileControl.ItemsPanel>
                			<ItemsPanelTemplate>
                				<VirtualizingStackPanel Orientation="Horizontal" Margin="1,0,60,0"/>
                			</ItemsPanelTemplate>
                		</tiles:VariableTileControl.ItemsPanel>
                		<tiles:VariableTileControl.GroupStyle>
                			<GroupStyle >
                				<GroupStyle.HeaderTemplate>
                					<DataTemplate>
                						<!--<StackPanel Margin="1,0,0,6" Orientation="Horizontal">
                                <Button
        									AutomationProperties.Name="Group Title"
        									Content="{Binding Title}"
        									Click="Header_Click"
        									Style="{StaticResource TextButtonStyle}" FontWeight="Light" Foreground="#FF323232" FontSize="26.667" Background="#FFD71921"/>
                                <TextBlock Text="{StaticResource ChevronGlyph}" FontFamily="Segoe UI Symbol" Margin="10,0,0,10" Style="{StaticResource GroupHeaderTextStyle}" Foreground="#FF323232"/>
                                <TextBlock x:Name="txtVideo" HorizontalAlignment="Right" TextWrapping="Wrap" Text="{Binding Sub}" VerticalAlignment="Bottom" Foreground="#FFC4261D" Margin="140,21,0,0" FontFamily="Segoe UI" FontSize="16" Visibility="{Binding SubTl}"/>
                                <TextBlock x:Name="txtPicture" HorizontalAlignment="Right" TextWrapping="Wrap" Text="{Binding Sub2}" VerticalAlignment="Bottom" Foreground="#FFC4261D" Margin="275,21,0,0" FontFamily="Segoe UI" FontSize="16" Visibility="{Binding SubT2}"/>
                            </StackPanel>-->
                					</DataTemplate>
                				</GroupStyle.HeaderTemplate>
                				<GroupStyle.Panel>
                					<ItemsPanelTemplate>
                						<VariableSizedWrapGrid ItemHeight="5" ItemWidth="5" MaximumRowsOrColumns="110" Orientation="Vertical" Margin="0,0,80,0"/>
                					</ItemsPanelTemplate>
                				</GroupStyle.Panel>
                			</GroupStyle>
                		</tiles:VariableTileControl.GroupStyle>
                	</tiles:VariableTileControl>
                	<Grid Height="510" VerticalAlignment="Top" Background="Black" Margin="0,120,0,0">
                		<StackPanel Margin="0" Orientation="Vertical">
                			<Grid Background="Black">
                				<StackPanel VerticalAlignment="Center" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,20,20,20">
                					<TextBlock TextWrapping="Wrap" Text="/" LineStackingStrategy="BlockLineHeight" FontSize="74.667" LineHeight="74.667" FontFamily="Segoe UI" FontWeight="Light" Foreground="#FF60DADF"/>
                					<TextBlock Foreground="White" Style="{StaticResource TitleTextStyle}" Margin="5,0" FontSize="36" LineHeight="36" VerticalAlignment="Center" FontWeight="Light" Text="show timings"/>
                					<TextBlock TextWrapping="Wrap" Text="/" LineStackingStrategy="BlockLineHeight" FontSize="74.667" LineHeight="74.667" FontFamily="Segoe UI" FontWeight="Light" Foreground="#FF60DADF"/>
                				</StackPanel>
                			</Grid>
                			<StackPanel Orientation="Horizontal" Margin="30,0">
                				<TextBlock TextWrapping="Wrap" Text="Theater" FontFamily="Segoe UI" FontSize="18" Foreground="#FF60DADF" Width="220"/>
                				<StackPanel VerticalAlignment="Center" Margin="20,0,0,0">
                					<StackPanel Orientation="Horizontal">
                						<TextBlock TextWrapping="Wrap" Text="10.30 am" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="1.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="3.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="05.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                					</StackPanel>
                					<StackPanel Orientation="Horizontal" Margin="0,15,0,0">
                						<TextBlock TextWrapping="Wrap" Text="08.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="10.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="12.30 am" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                					</StackPanel>
                				</StackPanel>
                			</StackPanel>
                			<StackPanel Orientation="Horizontal" Margin="30,25,30,0">
                				<TextBlock TextWrapping="Wrap" FontFamily="Segoe UI" FontSize="18" Foreground="#FF60DADF" Width="220">
                					<Run Text="Theater"/>
                					<LineBreak/>
                					<Run Text=" (regular)"/>
                				</TextBlock>
                				<StackPanel VerticalAlignment="Center" Margin="20,0,0,0">
                					<StackPanel Orientation="Horizontal">
                						<TextBlock TextWrapping="Wrap" Text="10.30 am" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="1.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="3.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="05.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                					</StackPanel>
                				</StackPanel>
                			</StackPanel>
                			<StackPanel Orientation="Horizontal" Margin="30,25,30,0">
                				<TextBlock TextWrapping="Wrap" Text="Theater" FontFamily="Segoe UI" FontSize="18" Foreground="#FF60DADF" Width="220"/>
                				<StackPanel VerticalAlignment="Center" Margin="20,0,0,0">
                					<StackPanel Orientation="Horizontal">
                						<TextBlock TextWrapping="Wrap" Text="10.30 am" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="1.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="3.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="05.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                					</StackPanel>
                					<StackPanel Orientation="Horizontal" Margin="0,15,0,0">
                						<TextBlock TextWrapping="Wrap" Text="08.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="10.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="12.30 am" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                					</StackPanel>
                				</StackPanel>
                			</StackPanel>
                			<StackPanel Orientation="Horizontal" Margin="30,25,30,0">
                				<TextBlock TextWrapping="Wrap" Text="Theater" FontFamily="Segoe UI" FontSize="18" Foreground="#FF60DADF" Width="220"/>
                				<StackPanel VerticalAlignment="Center" Margin="20,0,0,0">
                					<StackPanel Orientation="Horizontal">
                						<TextBlock TextWrapping="Wrap" Text="10.30 am" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="1.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="3.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="05.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                					</StackPanel>
                					<StackPanel Orientation="Horizontal" Margin="0,15,0,0">
                						<TextBlock TextWrapping="Wrap" Text="08.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="10.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="12.30 am" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                					</StackPanel>
                				</StackPanel>
                			</StackPanel>
                			<StackPanel Orientation="Horizontal" Margin="30,25,30,0">
                				<TextBlock TextWrapping="Wrap" Text="Theater" FontFamily="Segoe UI" FontSize="18" Foreground="#FF60DADF" Width="220"/>
                				<StackPanel VerticalAlignment="Center" Margin="20,0,0,0">
                					<StackPanel Orientation="Horizontal">
                						<TextBlock TextWrapping="Wrap" Text="10.30 am" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="1.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="3.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						<TextBlock TextWrapping="Wrap" Text="05.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                					</StackPanel>
                				</StackPanel>
                			</StackPanel>
                		</StackPanel>
                	</Grid>
                	<Grid Grid.Column="2" Height="500" Margin="0,120,0,0" VerticalAlignment="Top" >
                		<Grid.RowDefinitions>
                			<RowDefinition Height="220"/>
                			<RowDefinition Height="10"/>
                			<RowDefinition Height="*"/>
                		</Grid.RowDefinitions>
                		<StackPanel Orientation="Vertical" Background="Black" Margin="0">
                			<Grid>
                				<StackPanel VerticalAlignment="Center" Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,20,20,20">
                					<TextBlock TextWrapping="Wrap" Text="/" LineStackingStrategy="BlockLineHeight" FontSize="74.667" LineHeight="74.667" FontFamily="Segoe UI" FontWeight="Light" Foreground="#FFE79E00"/>
                					<TextBlock Foreground="White" Style="{StaticResource TitleTextStyle}" Margin="5,0" FontSize="36" LineHeight="36" VerticalAlignment="Center" FontWeight="Light" Text="book tickets"/>
                					<TextBlock TextWrapping="Wrap" Text="/" LineStackingStrategy="BlockLineHeight" FontSize="74.667" LineHeight="74.667" FontFamily="Segoe UI" FontWeight="Light" Foreground="#FFE79E00"/>
                				</StackPanel>
                			</Grid>
                			<StackPanel>
                				<StackPanel Orientation="Horizontal" Margin="27,5,0,0" HorizontalAlignment="Left">
                					<RadioButton Content="movies" VerticalAlignment="Stretch" Foreground="Black" FontSize="16" Style="{StaticResource RadioButtonStyle2}" Padding="5,-5,0,0"/>
                					<RadioButton Content="cinemas" VerticalAlignment="Stretch" Foreground="Black" FontSize="16" Style="{StaticResource RadioButtonStyle2}" Padding="5,-5,0,0" Margin="30,0,0,0"/>
                				</StackPanel>
                				<StackPanel Height="35" Orientation="Horizontal" Margin="27,10,0,0">
                					<ComboBox x:Name="cmbxSelectMovie" Background="#FFFFC13D" BorderBrush="{x:Null}" BorderThickness="0" SelectedIndex="0" MinWidth="200" MaxWidth="200" MinHeight="35" MaxHeight="35" VerticalAlignment="Center" Style="{StaticResource ComboBoxStyle1}" Margin="0,0,20,0">
                						<ComboBoxItem Content="select movie" Style="{StaticResource ComboBoxItemStyle}"/>
                						<ComboBoxItem Content="select movie2" Style="{StaticResource ComboBoxItemStyle}"/>
                						<ComboBoxItem Content="select movie3" Style="{StaticResource ComboBoxItemStyle}"/>
                						<ComboBoxItem Content="select movie4" Style="{StaticResource ComboBoxItemStyle}"/>
                						<ComboBoxItem Content="select movie5" Style="{StaticResource ComboBoxItemStyle}"/>
                					</ComboBox>
                					<ComboBox x:Name="cmbxSelectDate" Background="#FFFFC13D" BorderBrush="{x:Null}" BorderThickness="0" SelectedIndex="0" MinWidth="200" MaxWidth="200" MinHeight="35" MaxHeight="35" VerticalAlignment="Center" Style="{StaticResource ComboBoxStyle1}" Margin="0,0,20,0">
                						<ComboBoxItem Content="select date" Style="{StaticResource ComboBoxItemStyle}"/>
                						<ComboBoxItem Content="select date2" Style="{StaticResource ComboBoxItemStyle}"/>
                						<ComboBoxItem Content="select date3" Style="{StaticResource ComboBoxItemStyle}"/>
                						<ComboBoxItem Content="select date4" Style="{StaticResource ComboBoxItemStyle}"/>
                						<ComboBoxItem Content="select date5" Style="{StaticResource ComboBoxItemStyle}"/>
                					</ComboBox>
                				</StackPanel>
                			</StackPanel>
                		</StackPanel>
                		<Grid Background="Black" Margin="0" Grid.Row="2">
                			<StackPanel Orientation="Vertical" Margin="27,20">
                				<StackPanel Orientation="Horizontal" Margin="0,0,0,10">
                					<TextBlock TextWrapping="Wrap" Text="Theater" FontFamily="Segoe UI" FontSize="18" Width="220" Foreground="#FFFFC13D"/>
                					<StackPanel VerticalAlignment="Center" Margin="20,0,0,0">
                						<StackPanel Orientation="Horizontal">
                							<TextBlock TextWrapping="Wrap" Text="10.30 am" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                							<TextBlock TextWrapping="Wrap" Text="1.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                							<TextBlock TextWrapping="Wrap" Text="3.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                							<TextBlock TextWrapping="Wrap" Text="05.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						</StackPanel>
                						<StackPanel Orientation="Horizontal" Margin="0,15,0,0">
                							<TextBlock TextWrapping="Wrap" Text="08.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                							<TextBlock TextWrapping="Wrap" Text="10.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                							<TextBlock TextWrapping="Wrap" Text="12.30 am" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						</StackPanel>
                					</StackPanel>
                				</StackPanel>
                				<StackPanel Orientation="Horizontal" Margin="0,10">
                					<TextBlock TextWrapping="Wrap" FontFamily="Segoe UI" FontSize="18" Foreground="#FFFFC13D" Width="220">
                						<Run Text="Theater"/>
                						<LineBreak/>
                						<Run Text=" (regular)"/>
                					</TextBlock>
                					<StackPanel VerticalAlignment="Center" Margin="20,0,0,0">
                						<StackPanel Orientation="Horizontal">
                							<TextBlock TextWrapping="Wrap" Text="10.30 am" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                							<TextBlock TextWrapping="Wrap" Text="1.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                							<TextBlock TextWrapping="Wrap" Text="3.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                							<TextBlock TextWrapping="Wrap" Text="05.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						</StackPanel>
                					</StackPanel>
                				</StackPanel>
                				<StackPanel Orientation="Horizontal" Margin="0,10">
                					<TextBlock TextWrapping="Wrap" Text="Theater" FontFamily="Segoe UI" FontSize="18" Foreground="#FFFFC13D" Width="220"/>
                					<StackPanel VerticalAlignment="Center" Margin="20,0,0,0">
                						<StackPanel Orientation="Horizontal">
                							<TextBlock TextWrapping="Wrap" Text="10.30 am" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                							<TextBlock TextWrapping="Wrap" Text="1.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                							<TextBlock TextWrapping="Wrap" Text="3.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                							<TextBlock TextWrapping="Wrap" Text="05.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						</StackPanel>
                						<StackPanel Orientation="Horizontal" Margin="0,15,0,0">
                							<TextBlock TextWrapping="Wrap" Text="08.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                							<TextBlock TextWrapping="Wrap" Text="10.30 pm" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                							<TextBlock TextWrapping="Wrap" Text="12.30 am" FontFamily="Segoe UI" FontSize="14" VerticalAlignment="Top" Margin="10,0"/>
                						</StackPanel>
                					</StackPanel>
                				</StackPanel>
                			</StackPanel>
                		</Grid>
                	</Grid>
                </Grid>
            </Grid>
        </ScrollViewer>
        <Grid>
            <Grid.ColumnDefinitions>
            	<ColumnDefinition Width="Auto"/>
            	<ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
        	<Button x:Name="backButton" Click="GoBack" IsEnabled="{Binding Frame.CanGoBack, ElementName=pageRoot}" Style="{StaticResource BackButtonStyle}"/>
        	<TextBlock x:Name="pageTitle" Text="{StaticResource AppName}" Grid.Column="1" IsHitTestVisible="false" Style="{StaticResource PageHeaderTextStyle}" Visibility="Collapsed"/>
        	<Image x:Name="image" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Column="1" Margin="0,20,40,20" Source="Assets/Logo.png" Width="234" Tapped="Image_Tapped_1" />
        </Grid>
        <Grid x:Name="grdSnapView"  Grid.RowSpan="2" Visibility="Collapsed">
        	<TextBlock HorizontalAlignment="Center" TextWrapping="Wrap" Text="&quot;Please switch to full screen to view the details.&quot;" VerticalAlignment="Center" AllowDrop="True" FontSize="21.333" FontFamily="Segoe UI" Foreground="Black"/>
        </Grid>

        <VisualStateManager.VisualStateGroups>

            <!-- Visual states reflect the application's view state -->
            <VisualStateGroup x:Name="ApplicationViewStates">
                <VisualState x:Name="FullScreenLandscape"/>
                <VisualState x:Name="Filled"/>

                <!-- The entire page respects the narrower 100-pixel margin convention for portrait -->
                <VisualState x:Name="FullScreenPortrait">
                    <Storyboard>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="backButton" Storyboard.TargetProperty="Style">
                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PortraitBackButtonStyle}"/>
                        </ObjectAnimationUsingKeyFrames>

                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="itemGridView" Storyboard.TargetProperty="Padding">
                            <DiscreteObjectKeyFrame KeyTime="0" Value="96,137,10,56"/>
                        </ObjectAnimationUsingKeyFrames>
                    </Storyboard>
                </VisualState>

                <!--
                    The back button and title have different styles when snapped, and the list representation is substituted
                    for the grid displayed in all other view states
                -->
                <VisualState x:Name="Snapped">
                    <Storyboard>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="backButton" Storyboard.TargetProperty="Style">
                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource SnappedBackButtonStyle}"/>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="pageTitle" Storyboard.TargetProperty="Style">
                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource SnappedPageHeaderTextStyle}"/>
                        </ObjectAnimationUsingKeyFrames>

                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="itemListView" Storyboard.TargetProperty="Visibility">
                            <DiscreteObjectKeyFrame KeyTime="0">
                            	<DiscreteObjectKeyFrame.Value>
                            		<Visibility>Collapsed</Visibility>
                            	</DiscreteObjectKeyFrame.Value>
                            </DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="itemGridView" Storyboard.TargetProperty="Visibility">
                            <DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed"/>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="grdSnapView">
                        	<DiscreteObjectKeyFrame KeyTime="0">
                        		<DiscreteObjectKeyFrame.Value>
                        			<Visibility>Visible</Visibility>
                        		</DiscreteObjectKeyFrame.Value>
                        	</DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="scrollViewer">
                        	<DiscreteObjectKeyFrame KeyTime="0">
                        		<DiscreteObjectKeyFrame.Value>
                        			<Visibility>Collapsed</Visibility>
                        		</DiscreteObjectKeyFrame.Value>
                        	</DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="image">
                        	<DiscreteObjectKeyFrame KeyTime="0">
                        		<DiscreteObjectKeyFrame.Value>
                        			<Thickness>0,20,20,20</Thickness>
                        		</DiscreteObjectKeyFrame.Value>
                        	</DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                    </Storyboard>
                </VisualState>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>
    </Grid>
</common:LayoutAwarePage>

